package cn.psh.org.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
//
public class Employee {
    private Long id;
    /**用户名*/
    private String username;
    /**邮箱*/
    private String email;
    /**手机*/
    private String phone;
    /**盐值*/
    private String salt;
    /**密码*/
    private String password;
    /**年龄*/
    private Integer age;
    /**状态*/
    private Integer state;
    /**部门ID*/
    private Long departmentId;
    /**当前员工所在部门*/
    private Department department;
    /**登陆信息ID*/
    private Long logininfoId;
    /**店铺ID*/
    private Long shopId;
    private Shop shop;

    /**方便从中间表中为当前员工添加角色象*/
    private Long  roleId;


}
